package com.isoftstone.spring.subject.mybatisplus;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.isoftstone.spring.subject.mybatisplus.mapper.SysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 用户信息表 服务实现类
 */
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements SysUserService {
    @Autowired
    private SysUserMapper sysUserMapper;
    @Override
    public List<SysUser> findByName(String name) {
        return sysUserMapper.findByName(name);
    }
}